Optimal. Leaf size=139 \[ \frac{A \sqrt{\frac{c x^2}{a}+1} (e x)^{m+1} \, _2F_1\left (\frac{1}{2},\frac{m+1}{2};\frac{m+3}{2};-\frac{c x^2}{a}\right )}{e (m+1) \sqrt{a+c x^2}}+\frac{B \sqrt{\frac{c x^2}{a}+1} (e x)^{m+2} \, _2F_1\left (\frac{1}{2},\frac{m+2}{2};\frac{m+4}{2};-\frac{c x^2}{a}\right )}{e^2 (m+2) \sqrt{a+c x^2}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.19721, antiderivative size = 139, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 3, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.136 \[ \frac{A \sqrt{\frac{c x^2}{a}+1} (e x)^{m+1} \, _2F_1\left (\frac{1}{2},\frac{m+1}{2};\frac{m+3}{2};-\frac{c x^2}{a}\right )}{e (m+1) \sqrt{a+c x^2}}+\frac{B \sqrt{\frac{c x^2}{a}+1} (e x)^{m+2} \, _2F_1\left (\frac{1}{2},\frac{m+2}{2};\frac{m+4}{2};-\frac{c x^2}{a}\right )}{e^2 (m+2) \sqrt{a+c x^2}} \]
Antiderivative was successfully verified.
[In] Int[((e*x)^m*(A + B*x))/Sqrt[a + c*x^2],x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 21.351, size = 116, normalized size = 0.83 \[ \frac{A \left (e x\right )^{m + 1} \sqrt{a + c x^{2}}{{}_{2}F_{1}\left (\begin{matrix} \frac{1}{2}, \frac{m}{2} + \frac{1}{2} \\ \frac{m}{2} + \frac{3}{2} \end{matrix}\middle |{- \frac{c x^{2}}{a}} \right )}}{a e \sqrt{1 + \frac{c x^{2}}{a}} \left (m + 1\right )} + \frac{B \left (e x\right )^{m + 2} \sqrt{a + c x^{2}}{{}_{2}F_{1}\left (\begin{matrix} \frac{1}{2}, \frac{m}{2} + 1 \\ \frac{m}{2} + 2 \end{matrix}\middle |{- \frac{c x^{2}}{a}} \right )}}{a e^{2} \sqrt{1 + \frac{c x^{2}}{a}} \left (m + 2\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((e*x)**m*(B*x+A)/(c*x**2+a)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.143328, size = 108, normalized size = 0.78 \[ \frac{x \sqrt{\frac{c x^2}{a}+1} (e x)^m \left (A (m+2) \, _2F_1\left (\frac{1}{2},\frac{m+1}{2};\frac{m+3}{2};-\frac{c x^2}{a}\right )+B (m+1) x \, _2F_1\left (\frac{1}{2},\frac{m}{2}+1;\frac{m}{2}+2;-\frac{c x^2}{a}\right )\right )}{(m+1) (m+2) \sqrt{a+c x^2}} \]
Antiderivative was successfully verified.
[In] Integrate[((e*x)^m*(A + B*x))/Sqrt[a + c*x^2],x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.036, size = 0, normalized size = 0. \[ \int{ \left ( ex \right ) ^{m} \left ( Bx+A \right ){\frac{1}{\sqrt{c{x}^{2}+a}}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((e*x)^m*(B*x+A)/(c*x^2+a)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (B x + A\right )} \left (e x\right )^{m}}{\sqrt{c x^{2} + a}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*(e*x)^m/sqrt(c*x^2 + a),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{{\left (B x + A\right )} \left (e x\right )^{m}}{\sqrt{c x^{2} + a}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*(e*x)^m/sqrt(c*x^2 + a),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 8.0894, size = 112, normalized size = 0.81 \[ \frac{A e^{m} x x^{m} \Gamma \left (\frac{m}{2} + \frac{1}{2}\right ){{}_{2}F_{1}\left (\begin{matrix} \frac{1}{2}, \frac{m}{2} + \frac{1}{2} \\ \frac{m}{2} + \frac{3}{2} \end{matrix}\middle |{\frac{c x^{2} e^{i \pi }}{a}} \right )}}{2 \sqrt{a} \Gamma \left (\frac{m}{2} + \frac{3}{2}\right )} + \frac{B e^{m} x^{2} x^{m} \Gamma \left (\frac{m}{2} + 1\right ){{}_{2}F_{1}\left (\begin{matrix} \frac{1}{2}, \frac{m}{2} + 1 \\ \frac{m}{2} + 2 \end{matrix}\middle |{\frac{c x^{2} e^{i \pi }}{a}} \right )}}{2 \sqrt{a} \Gamma \left (\frac{m}{2} + 2\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((e*x)**m*(B*x+A)/(c*x**2+a)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (B x + A\right )} \left (e x\right )^{m}}{\sqrt{c x^{2} + a}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*(e*x)^m/sqrt(c*x^2 + a),x, algorithm="giac")
[Out]